package com.stoa.floatlib.core

import android.app.Activity

internal interface StoaFloatManagerInterface {

    fun attach(stoaIntent: StoaIntent)

    fun detach()

    fun detach(tag: String)

    fun detach(stoaFloatView: AbsStoaFloatView)

    fun detachAll()

    fun getStoaFloatView(activity: Activity, tag: String): IStoaFloatView?

    fun getStoaFloatViews(activity: Activity, tag: String): Map<String, IStoaFloatView>?

    fun onActivityCreate(activity: Activity)

    fun onActivityResume(activity: Activity)

    fun onActivityPause(activity: Activity)

    fun notifyForeground(activity: Activity)

    fun notifyBackground(activity: Activity)

    fun resumeAndAttachStoaViews(activity: Activity)
}